﻿using System.Data;
using MyFloridaHouse.libSvDTO;

namespace MyFloridaHouse.DataAccess.Extensions
{
	/// <summary>
	/// ACSDistrictSummaryDTODataContract
	/// </summary>
    public static class ACSDistrictSummaryDTODataContract
    {
		/// <summary>
		/// DataContract.
		/// </summary>
		/// <param name="rdr">The RDR.</param>
		/// <returns>Object: <see cref="ACSDistrictSummaryDataDTO"/></returns>
        public static ACSDistrictSummaryDataDTO DataContract(IDataReader rdr)
        {
            var newItem = new ACSDistrictSummaryDataDTO();
            newItem.dictionaryID = (int)rdr["dictionaryID"];
            newItem.dataValue = rdr["dataValue"].ToString();
            return newItem;
        }


    }
}
